package com.cloud.api.domain.tsp;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * OLAP
 * </p>
 *
 * @author haohaibo
 * @since 2023-12-01
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_vehicle_logout")
@Schema(name = "VehicleLogout", description = "OLAP")
public class VehicleLogout implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "车辆退出时间")
    @TableField("logout_time")
    private LocalDateTime logoutTime;

    @Schema(description = "车辆登出流水号")
    @TableField("logout_serial_number")
    private Integer logoutSerialNumber;

    @Schema(description = "车辆登出时间")
    @TableField("dt")
    private LocalDate dt;

    @Schema(description = "车辆vin")
    @TableField("vin")
    private String vin;

    @Schema(description = "车辆登出报文")
    @TableField("record")
    private String record;

    @Schema(description = "车辆登出报文长度",hidden = true)
    @TableField(exist = false)
    private Integer recordLength;
}
